import request from '@/utils/request'

//获取是否填写过意向
export function getUserPolicyInfoApi(){
    return request({
        url:'/getUserPolicyInfo',
        method:'post'
    })
}
//新增意向
export function addUserPolicyInfoApi(params){
    return request({
        url:'/addUserPolicyInfo',
        method:'post',
        params
    })
}
export function getIndustryApi(){
    return request({
        url:'/getIndustryList',
        method:'get'
    })
}
//获取匹配条数
export function getMatchingCountApi(params){
    return request({
        url:'/news/getMatchingCount',
        method:'get',
        params
    })
}
export function getNewsListApi(params){
    return request({
        url:'/news/newsList',
        method:'get',
        params
    })
}
export function getNewsListByKeyWordApi(params){
    return request({
        url:'/news/getNewsListByKeyWord',
        method:'get',
        params
    })
}
export function getNewByIdApi(params) {
    return request({
        url: '/news/getNewById',
        method: 'GET',
        params
    })
}

